package kr.co.doriclassic.powerjava.chapter04;

import java.util.Scanner;

public class Add2 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x, y, sum;
		String s;
		System.out.print("첫번째 숫자 입력:");
		x=sc.nextInt();
		System.out.print("두번째 숫자 입력:");
		y=sc.nextInt();
		
		sum=x+y;
		
		System.out.println(x+"+"+y+"="+sum);
		System.out.print("문장 입력:");
		s=sc.next();
		System.out.println("입력한문장:"+s);
	}
}
